package com.hechang.controller;

import com.hechang.constant.SystemConstant;
import com.hechang.dto.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

@Controller
@RequestMapping("/hechang/employee")
public class EmployeeController {

    @RequestMapping("/list.htm")
    public String login(Map<String, Object> model,HttpServletRequest req) {
    	User user = (User)req.getSession().getAttribute(SystemConstant.SESSION_USER_KEY);
        return "employee/list";
    }
}
